<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo 6</title>
    <link rel="stylesheet" href="https://www.unpkg.com/ew-color-picker/dist/ew-color-picker.min.css">
</head>
<body>
    <div></div>
    <div id="demo"></div>
</body>
<script src="https://www.unpkg.com/ew-color-picker/dist/ew-color-picker.js"></script>
<script>
    const config = {
        isClickOutside:true,
        alpha:true
    }
    const color = ewColorPicker.createColorPicker({
        el:"div",
        ...config
    });
    color.init("div",{ hasBox:false });
    console.log(ewColorPicker.util);
</script>
</html>